package com.neusoft.neuiotms.dcam.fixed.service;

import java.util.List;

import org.springframework.data.domain.Page;
import org.springframework.data.domain.Pageable;

import com.neusoft.bizcore.web.support.Searchable;
import com.neusoft.neuiotms.dcam.fixed.dto.InventoryResultDTO;
import com.neusoft.neuiotms.dcam.fixed.model.enums.InventoryDutyResultStatus;

public interface InventoryResultService {

    List<InventoryResultDTO> findAll(Searchable searchable);

    Page<InventoryResultDTO> search(Pageable pageable, Searchable searchable);

    InventoryResultDTO create(InventoryResultDTO dto);

    InventoryResultDTO details(Long id);

    InventoryResultDTO update(Long id, InventoryResultDTO dto);

    void updateStatus(Long id, InventoryDutyResultStatus status);

    void delete(Long id);

    void synchronousData(String ids, String rule);

}
